﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo
{
	public class ProgressInfo : NotifierObject
	{
		private double _maximum;
		public double Maximum
		{
			get { return this._maximum; }
			set
			{
				this._maximum = value;
				this.OnPropertyChanged("Maximum");
			}
		}

		private double _progress;
		public double Progress
		{
			get { return this._progress; }
			set
			{
				if (this._progress == value) return;
				this._progress = value;
				this.OnPropertyChanged("Progress");
			}
		}

		private UiString _text;
		public UiString Text
		{
			get { return this._text; }
			set
			{
				this._text = value;
				this.OnPropertyChanged("Text");
			}
		}
	}
}
